package com.itcast.java.coupon.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 优惠券领取历史记录
 *
 * @author xiaobai
 * @date 2021-06-27 19:38:46
 */
@Data
@ApiModel(value = "SmsCouponHistoryEntity对象", description = "优惠券领取历史记录")
public class SmsCouponHistoryEntityVO implements Serializable{

        @ApiModelProperty(value = "id")
private Long id;

        @ApiModelProperty(value = "优惠券id")
private Long couponId;

        @ApiModelProperty(value = "会员id")
private Long memberId;

        @ApiModelProperty(value = "会员名字")
private String memberNickName;

        @ApiModelProperty(value = "获取方式[0->后台赠送；1->主动领取]")
private Boolean getType;

        @ApiModelProperty(value = "创建时间")
private Date createTime;

        @ApiModelProperty(value = "使用状态[0->未使用；1->已使用；2->已过期]")
private Boolean useType;

        @ApiModelProperty(value = "使用时间")
private Date useTime;

        @ApiModelProperty(value = "订单id")
private Long orderId;

        @ApiModelProperty(value = "订单号")
private Long orderSn;
        }